/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kylingroup.J2SE.Thread;

import java.util.Date;

/**
 *
 * @author kylin
 */
public class TestThreadSleep {
    public static void main(String args[]) throws Exception{
        for(int i=0;i<10;i++){
            System.out.println("当前时间："+new Date());
            Thread.sleep(1000);
        }
    }
}
